package com.ruoyi.project.system.video.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 sys_comment
 * 
 * @author ruoyi
 * @date 2024-11-04
 */
public class Comment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long usrname;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long praise;

    /** 拉踩数 */
    @Excel(name = "拉踩数")
    private Long dislike;

    /** 回复 */
    @Excel(name = "回复")
    private String reply;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsrname(Long usrname) 
    {
        this.usrname = usrname;
    }

    public Long getUsrname() 
    {
        return usrname;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPraise(Long praise) 
    {
        this.praise = praise;
    }

    public Long getPraise() 
    {
        return praise;
    }
    public void setDislike(Long dislike) 
    {
        this.dislike = dislike;
    }

    public Long getDislike() 
    {
        return dislike;
    }
    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("usrname", getUsrname())
            .append("content", getContent())
            .append("praise", getPraise())
            .append("dislike", getDislike())
            .append("reply", getReply())
            .append("time", getTime())
            .toString();
    }
}
